package com.jy.adscm.operation.cwb.service.impl;

import com.jy.adscm.operation.cwb.bean.CwIncomeexpenditure;
import com.jy.adscm.operation.cwb.bean.cwry;
import com.jy.adscm.operation.cwb.mapper.mysql.CwIncomeexpenditureMapper;
import com.jy.adscm.operation.cwb.service.CwIncomeexpenditureService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yyy
 * @since 2019-01-07
 */
@Service
public class CwIncomeexpenditureServiceImpl extends ServiceImpl<CwIncomeexpenditureMapper, CwIncomeexpenditure> implements CwIncomeexpenditureService {
@Autowired
CwIncomeexpenditureMapper cwIncomeexpenditureMapper;
    @Override
    public List<CwIncomeexpenditure> queryByRWZT(String rwzt,String rwwczt,String szlx,String key) {

        return cwIncomeexpenditureMapper.queryByRWZT(rwzt,rwwczt,szlx,key);
    }

    @Override
    public List<cwry> queryCwry() {
        return cwIncomeexpenditureMapper.queryCwry();
    }
}
